home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-I386 / INIT.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  497b  |  18 lines

  1. #ifndef _I386_INIT_H
  2. #define _I386_INIT_H
  3.  
  4. #define __init __attribute__ ((__section__ (".text.init")))
  5. #define __initdata __attribute__ ((__section__ (".data.init")))
  6. #define __initfunc(__arginit) \
  7.     __arginit __init; \
  8.     __arginit
  9. /* For assembly routines */
  10. #define __INIT        .section    ".text.init",#alloc,#execinstr
  11. #define __FINIT    .previous
  12. #define __INITDATA    .section    ".data.init",#alloc,#write
  13.  
  14. #define __cacheline_aligned __attribute__ \
  15.              ((__section__ (".data.cacheline_aligned")))
  16.  
  17. #endif
  18.